<form name="form_admin" method="POST" action="<?php echo formEditAction()?>">
	<table cellpadding="0" cellspacing="1" id="tblsort" align="center">
	  <tr class="headtb">
		<td width="150" ><b>Name</b></td>
		<td width="350"><b>Value</b></td>
	  </tr>
	 <tr>
 	   <td>Header Page</td>
 	  	<td>
 	  		<?php echo Displayconfig("HeaderPage",500)?>
 	  	</td>
	 </tr>
     
     <tr>
 	   <td>Footer Page</td>
 	  	<td>
 	  		<?php echo Displayconfig("FooterPage",500)?>
 	  	</td>
	 </tr>
     
     <tr>
 	   <td>TimeZone Default</td>
 	  	<td>
 	  		<?php echo ConfigTimeZoneDefault()?>
 	  	</td>
	 </tr>
     
	 <tr>
 	   <td>Currency unit Display</td>
 	  	<td>
 	  		<?php echo Displayconfigse("UnitDisplay",array("USD","VND"))?>
 	  	</td>
	 </tr>
     
      <tr>
 	   <td><?php __('Yahoo ID',true)?>:</td>
 	  	<td>
 	  		<?php echo Displayconfig("YahooId",500)?>
 	  	</td>
	 </tr>
     
      <tr>
 	   <td><?php __('Skype ID',true)?>:</td>
 	  	<td>
 	  		<?php echo Displayconfig("SkypeId",500)?>
 	  	</td>
	 </tr>
     
     <tr>
 	   <td><?php __('Hot line',true)?>:</td>
 	  	<td>
 	  		<?php echo Displayconfig("Hotline",500)?>
 	  	</td>
	 </tr>
     
      <tr>
 	   <td><?php __('Phone',true)?>:</td>
 	  	<td>
 	  		<?php echo Displayconfig("OtherPhone",500)?>
 	  	</td>
	 </tr>
     
     <tr>
 	   <td><?php __('Address',true)?>:</td>
 	  	<td>
 	  		<?php echo Displayconfig("Address",500)?>
 	  	</td>
	 </tr>
     
     <tr>
 	   <td><?php __('Email contact',true)?>:</td>
 	  	<td>
 	  		<?php echo Displayconfig("EmailContact",500)?>
 	  	</td>
	 </tr>
     
     
	</table>
    <div style="padding-top: 20px;" align="center">
    <fieldset style="width: 49%;">
        <legend>Email</legend>
        <table cellpadding="0" cellspacing="1" align="center" width="300">    	  
    	 <tr>
     	   <td>Host(SMTP)</td>
     	  	<td>
     	  		<input class="normal" name="SMTPConfig[host]" id="host" value="<?php echo $SMTP->host?>" />
     	  	</td>
    	 </tr>
         
         <tr>
     	   <td>Username</td>
     	  	<td>
     	  		<input class="normal" name="SMTPConfig[user]" id="user" value="<?php echo $SMTP->user?>" />
     	  	</td>
    	 </tr>
         <tr>
     	   <td>Password</td>
     	  	<td>
     	  		<input class="normal" type="password" name="SMTPConfig[pass]" id="pass" value="<?php echo $SMTP->pass?>" />
     	  	</td>
    	 </tr> 
         <tr>
     	   <td>Name</td>
     	  	<td>
     	  		<input class="normal" name="SMTPConfig[name]" id="name" value="<?php echo $SMTP->name?>" />
     	  	</td>
    	 </tr>
         <tr>
     	   <td>Using smtp</td>
     	  	<td>
     	  		<input type="checkbox" name="SMTPConfig[type]" <?php if($SMTP->type==1)echo 'checked'?> value="1" />
                &nbsp;&nbsp;&nbsp;&nbsp;
                SSL <input type="checkbox" name="SMTPConfig[ssl]" <?php if($SMTP->ssl==1)echo 'checked'?> value="1" />
                &nbsp;&nbsp;&nbsp;&nbsp;
                Auth <input type="checkbox" name="SMTPConfig[auth]" <?php if($SMTP->auth==1)echo 'checked'?> value="1" />
                &nbsp;&nbsp;&nbsp;&nbsp;
                <input type="button" id="buttestmail" value="Test" onclick="testmail()" />
     	  	</td>
    	 </tr> 
    	</table>
    </fieldset>
    </div>
</form>
<script>
function testmail()
{ 
    submitform({act:location.href+'&opt=testmail',ajax:true,opt:{text:'testing...',onComplete:abc}});
}
function abc(t)
{
}
</script>